From: Nick Roberts Date: Sun, 3 Jun 2007 01:05:49 +0000 (+0000) Subject: (Click Events): Describe width and height when X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~421^2~18663 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=8875d27a3389a2bf3db5db009424dc8343cc1f0b;p=emacs.git (Click Events): Describe width and height when object is nil. --- diff --git a/lispref/commands.texi b/lispref/commands.texi index 10f4555e1f0..fabe38f9428 100644 --- a/lispref/commands.texi +++ b/lispref/commands.texi @@ -1225,7 +1225,7 @@ input stream. @xref{Key Sequence Input}. @item @var{x}, @var{y} -These are the pixel-denominated coordinates of the click, relative to +These are the pixel coordinates of the click, relative to the top left corner of @var{window}, which is @code{(0 . 0)}. For the mode or header line, @var{y} does not have meaningful data. For the vertical line, @var{x} does not have meaningful data. @@ -1266,13 +1266,14 @@ This is the image object on which the click occurred. It is either an image object as returned by @code{find-image} if click was in an image. @item @var{dx}, @var{dy} -These are the pixel-denominated coordinates of the click, relative to +These are the pixel coordinates of the click, relative to the top left corner of @var{object}, which is @code{(0 . 0)}. If @var{object} is @code{nil}, the coordinates are relative to the top left corner of the character glyph clicked on. @item @var{width}, @var{height} -These are the pixel-denominated width and height of @var{object}. +These are the pixel width and height of @var{object} or, if this is +@code{nil}, those of the character glyph clicked on. @end table @sp 1